package com.gxks.lhs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 评价信息表
 * </p>
 *
 * @author LuoHaisong
 * @since 2023-06-05
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "Evaluation对象", description = "评价信息表")
public class Evaluation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("评价ID，主键")
    @TableId(value = "evaluation_id", type = IdType.AUTO)
    private Integer evaluationId;

    @ApiModelProperty("订单ID")
    private Integer orderId;

    @ApiModelProperty("出售者id")
    private Integer sellerId;

    @ApiModelProperty("评价内容")
    private String description;

    @ApiModelProperty("评分（1-5分）")
    private Integer score;


}
